package com.wxapp.admin.service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wxapp.admin.api.pojo.vm.company.PCompanyDetailVm;
import com.wxapp.admin.api.pojo.vm.company.PCompanyPageVm;
import com.wxapp.admin.api.pojo.vo.company.QCompanyAddPictureVo;
import com.wxapp.admin.api.pojo.vo.company.QCompanyPageVo;
import com.wxapp.admin.api.pojo.vo.company.QCompanySaveVo;
import com.wxapp.admin.api.pojo.vo.company.QCompanyUpdateVo;
import com.wxapp.common.constant.pojo.vm.ResultVm;
import com.wxapp.common.constant.pojo.vo.UserVo;

import java.util.List;


/**
 * @author lgl
 * @Description 公司管理
 * @Datetime 2022/6/2 15:08
 * @Modified By
 */
public interface CompanyService {
    ResultVm<PCompanyDetailVm> detailCompany(UserVo user, String id);

    ResultVm<Page<PCompanyPageVm>> pageCompany(QCompanyPageVo qCompanyPageVo);

    ResultVm<String> saveCompany(UserVo userVo, QCompanySaveVo qCompanySaveVo);

    ResultVm<String> updateCompany(UserVo userVo, QCompanyUpdateVo qSaveVo);

    ResultVm<String> deleteCompany(UserVo userVo, String id);

    ResultVm<String> addPicture(UserVo userVo, QCompanyAddPictureVo qCompanyAddPictureVo);

    ResultVm<List<String>> getPicture(String companyId);

    ResultVm<List<String>> getPictureByUser(UserVo userVo);
}
